/*
 * CharacterData.h
 *
 *  Created on: Apr 27, 2009
 *      Author: wrice
 */

#ifndef CHARACTERDATA_H_
#define CHARACTERDATA_H_
#include "DOMCore.h"
namespace DOMCore {

class CharacterData : EXTENDS_INTERFACE( Node ) {
public:
	virtual DOMString getData() throw(DOMExceptionPtr) = 0;
	virtual void setData(DOMString) throw(DOMExceptionPtr) = 0;

	virtual unsigned long getLength() = 0;

	virtual DOMString substringData(unsigned long offset, unsigned long count) throw(DOMExceptionPtr) = 0;
	virtual void appendData(DOMString arg) throw(DOMExceptionPtr) = 0;
	virtual void insertData(unsigned long offset, DOMString arg) throw(DOMExceptionPtr) = 0;
	virtual void deleteData(unsigned long offset, unsigned long count) throw(DOMExceptionPtr) = 0;
	virtual void replaceData(unsigned long offset, unsigned long count, DOMString arg) throw(DOMExceptionPtr) = 0;
};

}

#endif /* CHARACTERDATA_H_ */
